class Cube
{
	double side;
	public Cube (double side)
	{
		this.side=side;
	}
	
	public double getVolume()
	{
		double volume=Math.pow(side, 3);
		return volume;
	}
	
	public double getSA()
	{
		double sa= 6 * side * side;
		return sa;
	}
}